Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Environment] Use standard python paths #379

Merged

Conversation

olivier-roussel
Copy link
Contributor

This follow some work initiated in SofaDefrost/ModelOrderReduction#72.
Update the setup phase of the python environment to add support for standard python module installation paths, as defined here:

Support for standard suffixes /python<MAJOR>.<MINOR> is added to current non-standard /python3 suffix.
For now, default SOFA python packages directory will still be located in python3/site-packages, unless SP3_PYTHON_PACKAGES_DIRECTORY cmake variable is set to new standard path (e.g. python3.10/site-packages).

@olivier-roussel
Copy link
Contributor Author

@damienmarchal Do you confirm that fix removed in 6b5e66e is indeed not necessary anymore ?

@olivier-roussel olivier-roussel changed the title Use standard python paths [Environment] Use standard python paths Nov 6, 2023
@fredroy fredroy merged commit a282456 into sofa-framework:master Dec 8, 2023
4 checks passed
damienmarchal pushed a commit that referenced this pull request Sep 13, 2024
* Migrate to standard python modules installation paths.

* Remove deprecated fix to import python lib on linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants